package com.sunshine.spring.aop.autoadvice;

/**
 * @Author: WeiHong
 * @Date: 2017/3/24 14:47
 */
public class Customer {

    private String name;

    private String url;

    public void setName(String name) {
        this.name = name;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void printName(){
        System.out.println("Customer name :" + this.name);
    }

    public void pritUrl(){
        System.out.println("Customer url :" + this.url);
    }

    @Override
    public String toString() {
        return "Customer{" +
                "name='" + name + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
